<?php

include_once($ROOT . "base.inc.php");

class PageController extends BaseController {
  var $id;

  function PageController() {
	parent::__construct();

	$this->title="Remove Song";
	$this->section="songs";

	$this->parseForm();

	if (strlen($this->id) > 0)
		SongLogic::removeAudio($this->id);

  }

  function parseForm() {
	$this->id = $this->getParameter("id");
  }

  function validate() {
	return (sizeof($this->errs) == 0);
  }

}



?>
